#ifndef __SOLID_BRUSH_H__
#define __SOLID_BRUSH_H__

#ifdef __apple__
#include "Brush.h"
#include "cxx_0x.h"
#else
#include "gofgame/common/graphics/Brush.h"
#include "gofgame/common/cxx_0x.h"
#endif //__apple__

namespace gofgame {
	namespace common {
		namespace graphics {
			class SolidBrush : public Brush {
			public:
				SolidBrush(const ccColor4F &color);
				SolidBrush(float r, float g, float b, float a);
				virtual bool isTransparent() const _override;
				virtual const ccColor4F &getColor() const;

			protected:
				virtual void onFillRect(float left, float top, float width, float height) _override;

			private:
				ccColor4F color;
			};
		}
	}
}

#endif //__SOLID_BRUSH_H__
